#!/usr/bin/env node
import chalk from "chalk";
// 定义 Circle 类
class Circle {
  constructor(radius) {
    this._radius = radius;
  }

  get diameter() {
    return this._radius * 2;
  }

  get area() {
    return Math.PI * this._radius * this._radius;
  }

  get circumference() {
    return 2 * Math.PI * this._radius;
  }
}

// 导出 Circle 类
export { Circle };

// 打印 module 信息
// console.log(chalk.green('Module information for 04-export-object.js:', module));